from langchain_ollama import OllamaLLM

llm = OllamaLLM(model="gemma3:1b")

resp = llm.invoke("how old are you")

print(resp)